package educationaladministrationsystem.CSM.Mapper.Service.ServiceInterface.StudentAndTeacherInterface.Teacher;

import educationaladministrationsystem.Class.Course;

import java.util.List;

public interface TeacherCourseManagement {
    List<Course> getAllCourse(String id, int page, int pageSum);

    String getTeacherNameById(String id);

    boolean isTheSameTimeCourse(String UID, int day, int startTime, int constTime, String classId);

    String getCourseId();

    void addNewCourse(Course course);

    Course getCourseById(String id);

    void updateCourse(Course course, String oldId);

    void deleteCourse(String id);

    int getCoursePage(String id, int pageSum);
}
